package com.qwc.blog.security.exception;

import com.qwc.blog.common.exception.BadRequestException;

/**
 * @author qwc
 * @Date 2021/10/15 13:56
 */
public class UserDisabledException extends BadRequestException {

    private static final String MESSAGE = "用户'%s'已停用";

    public UserDisabledException(String username) {
        super(String.format(MESSAGE, username));
    }

}
